package com.uobgroup.ews.uam.core.model;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author phuongtran
 * 
 */

@XmlRootElement(name="entries")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "referenceResultList", propOrder = { "entry" })
public class ReferenceResultList {

   @XmlElement(required = true)
   private List<ReferenceResult> entry;

   public List<ReferenceResult> getEntry() {
      if (entry == null) {
         entry = new ArrayList<ReferenceResult>();
      }
      return this.entry;
   }

}
